home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / usr / share / nano / python.nanorc < prev    next >
Text File  |  2009-03-30  |  486b  |  10 lines

  1. ## Here is an example for Python.
  2. ##
  3. syntax "python" "\.py$"
  4. icolor brightblue "def [0-9A-Z_]+"
  5. color brightcyan "\<(and|assert|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|map|not|or|pass|print|raise|return|try|while)\>"
  6. color brightgreen "['][^']*[^\\][']" "[']{3}.*[^\\][']{3}"
  7. color brightgreen "["][^"]*[^\\]["]" "["]{3}.*[^\\]["]{3}"
  8. color brightgreen start=""""[^"]" end=""""" start="'''[^']" end="'''"
  9. color brightred "#.*$"
  10.